Method ExecuteGroupedAggregateAsync(long, IEnumerable<GroupFieldRequest>, IEnumerable<AggregateRequest>, string?, string?, CancellationToken)

Assembly: redb.Postgres.Pro.dll

Execute GroupBy aggregation. Uses filterJson for Free version compatibility.
havingJson is a PVT-shape HAVING predicate; pass null when none.

public override Task<JsonDocument?> ExecuteGroupedAggregateAsync(long schemeId, IEnumerable<GroupFieldRequest> groupFields, IEnumerable<AggregateRequest> aggregations, string? filterJson = null, string? havingJson = null, CancellationToken cancellationToken = default)